projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dd1de4
)
Use the right GValue getter for GtkConstraintGuide:strength
author
Emmanuele Bassi
<ebassi@gnome.org>
Mon, 1 Jul 2019 17:02:19 +0000
(18:02 +0100)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Mon, 1 Jul 2019 17:02:19 +0000
(18:02 +0100)
The property is defined as an enum.
This fixes the defaultvalue and notify tests.
gtk/gtkconstraintguide.c
patch
|
blob
|
history
diff --git
a/gtk/gtkconstraintguide.c
b/gtk/gtkconstraintguide.c
index 3159e905ee6b6d7eb4c1e8832b0ce69206cd8b94..de7bb03499f7837ae35381156079cea963d439cd 100644
(file)
--- a/
gtk/gtkconstraintguide.c
+++ b/
gtk/gtkconstraintguide.c
@@
-307,7
+307,7
@@
gtk_constraint_guide_get_property (GObject *gobject,
break;
case PROP_STRENGTH:
- g_value_set_
int
(value, self->strength);
+ g_value_set_
enum
(value, self->strength);
break;
case PROP_NAME: